<?php
class UrlRestController extends Zend_Controller_Action 
{
	protected $_server;
	
	public function init()
	{
		$this->_server = new Zend_Rest_Server();
	}
	
	public function indexAction()
	{
		$this->_helper->layout()->disableLayout();
		$this->_helper->viewRenderer->setNoRender(true);
		$this->_server->setClass('ViewOnceUrlGen_Service_Url');
		$this->_server->handle();
	}
}